package com.sbm.swagger;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import lombok.Data;

@Data
@Component
@Configuration
@ConfigurationProperties(prefix = "swagger")
public class SwaggerConfig {
	private String groupName = "";
	private String basePackage = "";
	private String title = "Swagger2";
	private String description = "API文档";
	private String termsOfServiceUrl = "https://swagger.io/";
	private String license = "服务条款";
	private String licenseUrl = "https://swagger.io/swagger-ui/";
	private String version = "1.0.1";
	private String contact = "Swagger";
}
